<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: C:/Users/DELL/Desktop/Commit/lvgl/SWM34S_LVGL7.11_SWMUI_20230515/APP/USB/Device/descriptors_hid.c 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_0ca16891106f5a3e9ad635a0d6c5f98f.html">APP</a></li><li class="navelem"><a class="el" href="dir_688c5dfbd99f3a5435dc860226c47105.html">USB</a></li><li class="navelem"><a class="el" href="dir_0cccf70620b7ab69b712eb5bd1705234.html">Device</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle"><div class="title">descriptors_hid.c</div></div>
</div><!--header-->
<div class="contents">
<a href="descriptors__hid_8c.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#include &quot;SWM341.h&quot;</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span><span class="preprocessor">#include &quot;<a class="code" href="hid__transfer_8h.html">hid_transfer.h</a>&quot;</span></div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span> </div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span> </div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#ac22903d71a7eed9e1e20a1a76da8c3cb">    5</a></span>uint8_t <a class="code hl_variable" href="descriptors__hid_8c.html#ac22903d71a7eed9e1e20a1a76da8c3cb">HID_ReportDescriptor</a>[] =</div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span>{</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span>    0x06, 0x00, 0xFF,       <span class="comment">// Usage Page = 0xFF00 (Vendor Defined Page 1)</span></div>
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno">    8</span>    0x09, 0x01,             <span class="comment">// Usage (Vendor Usage 1)</span></div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    0xA1, 0x01,             <span class="comment">// Collection (Application)</span></div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno">   10</span>    0x19, 0x01,             <span class="comment">// Usage Minimum</span></div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno">   11</span>    0x29, 0x40,             <span class="comment">// Usage Maximum //64 input usages total (0x01 to 0x40)</span></div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span>    0x15, 0x00,             <span class="comment">// Logical Minimum (data bytes in the report may have minimum value = 0x00)</span></div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>    0x26, 0xFF, 0x00,       <span class="comment">// Logical Maximum (data bytes in the report may have maximum value = 0x00FF = unsigned 255)</span></div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno">   14</span>    0x75, 0x08,             <span class="comment">// Report Size: 8-bit field size</span></div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno">   15</span>    0x95, 0x40,             <span class="comment">// Report Count: Make sixty-four 8-bit fields (the next time the parser hits an &quot;Input&quot;, &quot;Output&quot;, or &quot;Feature&quot; item)</span></div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span>    0x81, 0x00,             <span class="comment">// Input (Data, Array, Abs): Instantiates input packet fields based on the above report size, count, logical min/max, and usage.</span></div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>    0x19, 0x01,             <span class="comment">// Usage Minimum</span></div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno">   18</span>    0x29, 0x40,             <span class="comment">// Usage Maximum //64 output usages total (0x01 to 0x40)</span></div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno">   19</span>    0x91, 0x00,             <span class="comment">// Output (Data, Array, Abs): Instantiates output packet fields. Uses same report size and count as &quot;Input&quot; fields, since nothing new/different was specified to the parser since the &quot;Input&quot; item.</span></div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno">   20</span>    0xC0                    <span class="comment">// End Collection</span></div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno">   21</span>};</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span> </div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span> </div>
<div class="line"><a id="l00024" name="l00024"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#ab60c3cff1fd75a4e5a9498a17bdf631c">   24</a></span>uint8_t <a class="code hl_variable" href="descriptors__hid_8c.html#ab60c3cff1fd75a4e5a9498a17bdf631c">USBD_DeviceDescriptor</a>[] =</div>
<div class="line"><a id="l00025" name="l00025"></a><span class="lineno">   25</span>{</div>
<div class="line"><a id="l00026" name="l00026"></a><span class="lineno">   26</span>    18,                     <span class="comment">// bLength</span></div>
<div class="line"><a id="l00027" name="l00027"></a><span class="lineno">   27</span>    USB_DESC_DEVICE,        <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00028" name="l00028"></a><span class="lineno">   28</span>    0x00, 0x02,             <span class="comment">// bcdUSB</span></div>
<div class="line"><a id="l00029" name="l00029"></a><span class="lineno">   29</span>    0x00,                   <span class="comment">// bDeviceClass</span></div>
<div class="line"><a id="l00030" name="l00030"></a><span class="lineno">   30</span>    0x00,                   <span class="comment">// bDeviceSubClass</span></div>
<div class="line"><a id="l00031" name="l00031"></a><span class="lineno">   31</span>    0x00,                   <span class="comment">// bDeviceProtocol</span></div>
<div class="line"><a id="l00032" name="l00032"></a><span class="lineno">   32</span>    <a class="code hl_define" href="hid__transfer_8h.html#a5162db480d212170c08d3d940d87be57">EP_CTRL_PKSZ</a>,           <span class="comment">// bMaxPacketSize0</span></div>
<div class="line"><a id="l00033" name="l00033"></a><span class="lineno">   33</span>    <a class="code hl_define" href="hid__transfer_8h.html#ac5251397ce2246b546b472cd802e6d62">USBD_VID</a> &amp; 0xFF, ((<a class="code hl_define" href="hid__transfer_8h.html#ac5251397ce2246b546b472cd802e6d62">USBD_VID</a> &gt;&gt; 8) &amp; 0xFF),  <span class="comment">// idVendor</span></div>
<div class="line"><a id="l00034" name="l00034"></a><span class="lineno">   34</span>    <a class="code hl_define" href="hid__transfer_8h.html#a287c940e33c18a7f0fda473a8f15b0d0">USBD_PID</a> &amp; 0xFF, ((<a class="code hl_define" href="hid__transfer_8h.html#a287c940e33c18a7f0fda473a8f15b0d0">USBD_PID</a> &gt;&gt; 8) &amp; 0xFF),  <span class="comment">// idProduct</span></div>
<div class="line"><a id="l00035" name="l00035"></a><span class="lineno">   35</span>    0x00, 0x00,             <span class="comment">// bcdDevice</span></div>
<div class="line"><a id="l00036" name="l00036"></a><span class="lineno">   36</span>    0x01,                   <span class="comment">// iManufacture</span></div>
<div class="line"><a id="l00037" name="l00037"></a><span class="lineno">   37</span>    0x02,                   <span class="comment">// iProduct</span></div>
<div class="line"><a id="l00038" name="l00038"></a><span class="lineno">   38</span>    0x00,                   <span class="comment">// iSerialNumber - no serial</span></div>
<div class="line"><a id="l00039" name="l00039"></a><span class="lineno">   39</span>    0x01                    <span class="comment">// bNumConfigurations</span></div>
<div class="line"><a id="l00040" name="l00040"></a><span class="lineno">   40</span>};</div>
<div class="line"><a id="l00041" name="l00041"></a><span class="lineno">   41</span> </div>
<div class="line"><a id="l00042" name="l00042"></a><span class="lineno">   42</span> </div>
<div class="line"><a id="l00043" name="l00043"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#a614f7a948820f0feb4257652eafda311">   43</a></span>uint8_t <a class="code hl_variable" href="descriptors__hid_8c.html#a614f7a948820f0feb4257652eafda311">USBD_ConfigDescriptor</a>[] =</div>
<div class="line"><a id="l00044" name="l00044"></a><span class="lineno">   44</span>{</div>
<div class="line"><a id="l00045" name="l00045"></a><span class="lineno">   45</span>    9,                      <span class="comment">// bLength</span></div>
<div class="line"><a id="l00046" name="l00046"></a><span class="lineno">   46</span>    USB_DESC_CONFIG,        <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00047" name="l00047"></a><span class="lineno">   47</span>    9+9+9+7+7, 0,           <span class="comment">// wTotalLength</span></div>
<div class="line"><a id="l00048" name="l00048"></a><span class="lineno">   48</span>    0x01,                   <span class="comment">// bNumInterfaces</span></div>
<div class="line"><a id="l00049" name="l00049"></a><span class="lineno">   49</span>    0x01,                   <span class="comment">// bConfigurationValue</span></div>
<div class="line"><a id="l00050" name="l00050"></a><span class="lineno">   50</span>    0x00,                   <span class="comment">// iConfiguration</span></div>
<div class="line"><a id="l00051" name="l00051"></a><span class="lineno">   51</span>    0x80 | (<a class="code hl_define" href="hid__transfer_8h.html#a07065dc40f090f051dd1dd6d5901930a">USBD_SELF_POWERED</a> &lt;&lt; 6) | (<a class="code hl_define" href="hid__transfer_8h.html#a33eb2c20ffb183eff71549bfc6279e36">USBD_REMOTE_WAKEUP</a> &lt;&lt; 5),    <span class="comment">// bmAttributes</span></div>
<div class="line"><a id="l00052" name="l00052"></a><span class="lineno">   52</span>    <a class="code hl_define" href="hid__transfer_8h.html#af89b852ee3c28c34c213f8ce6dd7f788">USBD_MAX_POWER</a>,         <span class="comment">// MaxPower</span></div>
<div class="line"><a id="l00053" name="l00053"></a><span class="lineno">   53</span> </div>
<div class="line"><a id="l00054" name="l00054"></a><span class="lineno">   54</span>    <span class="comment">/* I/F descr: HID */</span></div>
<div class="line"><a id="l00055" name="l00055"></a><span class="lineno">   55</span>    9,                      <span class="comment">// bLength</span></div>
<div class="line"><a id="l00056" name="l00056"></a><span class="lineno">   56</span>    USB_DESC_INTERFACE,     <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00057" name="l00057"></a><span class="lineno">   57</span>    0x00,                   <span class="comment">// bInterfaceNumber</span></div>
<div class="line"><a id="l00058" name="l00058"></a><span class="lineno">   58</span>    0x00,                   <span class="comment">// bAlternateSetting</span></div>
<div class="line"><a id="l00059" name="l00059"></a><span class="lineno">   59</span>    0x02,                   <span class="comment">// bNumEndpoints</span></div>
<div class="line"><a id="l00060" name="l00060"></a><span class="lineno">   60</span>    0x03,                   <span class="comment">// bInterfaceClass</span></div>
<div class="line"><a id="l00061" name="l00061"></a><span class="lineno">   61</span>    0x00,                   <span class="comment">// bInterfaceSubClass</span></div>
<div class="line"><a id="l00062" name="l00062"></a><span class="lineno">   62</span>    0x00,                   <span class="comment">// bInterfaceProtocol</span></div>
<div class="line"><a id="l00063" name="l00063"></a><span class="lineno">   63</span>    0x00,                   <span class="comment">// iInterface</span></div>
<div class="line"><a id="l00064" name="l00064"></a><span class="lineno">   64</span> </div>
<div class="line"><a id="l00065" name="l00065"></a><span class="lineno">   65</span>    <span class="comment">/* HID Descriptor */</span></div>
<div class="line"><a id="l00066" name="l00066"></a><span class="lineno">   66</span>    9,                      <span class="comment">// bLength</span></div>
<div class="line"><a id="l00067" name="l00067"></a><span class="lineno">   67</span>    USB_DESC_HID,           <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00068" name="l00068"></a><span class="lineno">   68</span>    0x10, 0x01,             <span class="comment">// HID Class Spec. release number</span></div>
<div class="line"><a id="l00069" name="l00069"></a><span class="lineno">   69</span>    0x00,                   <span class="comment">// H/W target country</span></div>
<div class="line"><a id="l00070" name="l00070"></a><span class="lineno">   70</span>    0x01,                   <span class="comment">// Number of HID class descriptors to follow</span></div>
<div class="line"><a id="l00071" name="l00071"></a><span class="lineno">   71</span>    USB_DESC_HID_RPT,       <span class="comment">// Descriptor type</span></div>
<div class="line"><a id="l00072" name="l00072"></a><span class="lineno">   72</span>    <span class="keyword">sizeof</span>(<a class="code hl_variable" href="descriptors__hid_8c.html#ac22903d71a7eed9e1e20a1a76da8c3cb">HID_ReportDescriptor</a>) &amp; 0xFF, ((<span class="keyword">sizeof</span>(<a class="code hl_variable" href="descriptors__hid_8c.html#ac22903d71a7eed9e1e20a1a76da8c3cb">HID_ReportDescriptor</a>) &gt;&gt; 8) &amp; 0xFF),  <span class="comment">// Total length of report descriptor</span></div>
<div class="line"><a id="l00073" name="l00073"></a><span class="lineno">   73</span> </div>
<div class="line"><a id="l00074" name="l00074"></a><span class="lineno">   74</span>    <span class="comment">/* EP Descriptor: interrupt in. */</span></div>
<div class="line"><a id="l00075" name="l00075"></a><span class="lineno">   75</span>    7,                              <span class="comment">// bLength</span></div>
<div class="line"><a id="l00076" name="l00076"></a><span class="lineno">   76</span>    USB_DESC_ENDPOINT,              <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00077" name="l00077"></a><span class="lineno">   77</span>    (USB_EP_IN | <a class="code hl_define" href="hid__transfer_8h.html#a44677a67e07421e9c150b320d3a17b60">EP_INT_IN_NUM</a>),    <span class="comment">// bEndpointAddress</span></div>
<div class="line"><a id="l00078" name="l00078"></a><span class="lineno">   78</span>    USB_EP_INT,                     <span class="comment">// bmAttributes</span></div>
<div class="line"><a id="l00079" name="l00079"></a><span class="lineno">   79</span>    <a class="code hl_define" href="hid__transfer_8h.html#a775207d15e87136af161c9931a1bba30">EP_INT_IN_PKSZ</a>, 0x00,           <span class="comment">// wMaxPacketSize</span></div>
<div class="line"><a id="l00080" name="l00080"></a><span class="lineno">   80</span>    10,                             <span class="comment">// bInterval</span></div>
<div class="line"><a id="l00081" name="l00081"></a><span class="lineno">   81</span> </div>
<div class="line"><a id="l00082" name="l00082"></a><span class="lineno">   82</span>    <span class="comment">/* EP Descriptor: interrupt out. */</span></div>
<div class="line"><a id="l00083" name="l00083"></a><span class="lineno">   83</span>    7,                              <span class="comment">// bLength</span></div>
<div class="line"><a id="l00084" name="l00084"></a><span class="lineno">   84</span>    USB_DESC_ENDPOINT,              <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00085" name="l00085"></a><span class="lineno">   85</span>    (USB_EP_OUT | <a class="code hl_define" href="hid__transfer_8h.html#a34cbf01a6f0c103001e248d0048f4271">EP_INT_OUT_NUM</a>),  <span class="comment">// bEndpointAddress</span></div>
<div class="line"><a id="l00086" name="l00086"></a><span class="lineno">   86</span>    USB_EP_INT,                     <span class="comment">// bmAttributes</span></div>
<div class="line"><a id="l00087" name="l00087"></a><span class="lineno">   87</span>    <a class="code hl_define" href="hid__transfer_8h.html#ae37a8cb8c6766fdeecad80e01bb6c2ef">EP_INT_OUT_PKSZ</a>, 0x00,          <span class="comment">// wMaxPacketSize</span></div>
<div class="line"><a id="l00088" name="l00088"></a><span class="lineno">   88</span>    10                              <span class="comment">// bInterval</span></div>
<div class="line"><a id="l00089" name="l00089"></a><span class="lineno">   89</span>};</div>
<div class="line"><a id="l00090" name="l00090"></a><span class="lineno">   90</span> </div>
<div class="line"><a id="l00091" name="l00091"></a><span class="lineno">   91</span> </div>
<div class="line"><a id="l00092" name="l00092"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#a54c0e984bf7f34605af44f595af622cd">   92</a></span>uint8_t <a class="code hl_variable" href="descriptors__hid_8c.html#a54c0e984bf7f34605af44f595af622cd">LangStringDesc</a>[4] =</div>
<div class="line"><a id="l00093" name="l00093"></a><span class="lineno">   93</span>{</div>
<div class="line"><a id="l00094" name="l00094"></a><span class="lineno">   94</span>    4,                      <span class="comment">// bLength</span></div>
<div class="line"><a id="l00095" name="l00095"></a><span class="lineno">   95</span>    USB_DESC_STRING,        <span class="comment">// bDescriptorType</span></div>
<div class="line"><a id="l00096" name="l00096"></a><span class="lineno">   96</span>    0x09, 0x04</div>
<div class="line"><a id="l00097" name="l00097"></a><span class="lineno">   97</span>};</div>
<div class="line"><a id="l00098" name="l00098"></a><span class="lineno">   98</span> </div>
<div class="line"><a id="l00099" name="l00099"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">   99</a></span>uint8_t <a class="code hl_variable" href="descriptors__hid_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">VendorStringDesc</a>[] =</div>
<div class="line"><a id="l00100" name="l00100"></a><span class="lineno">  100</span>{</div>
<div class="line"><a id="l00101" name="l00101"></a><span class="lineno">  101</span>    14,</div>
<div class="line"><a id="l00102" name="l00102"></a><span class="lineno">  102</span>    USB_DESC_STRING,</div>
<div class="line"><a id="l00103" name="l00103"></a><span class="lineno">  103</span>    <span class="charliteral">&#39;S&#39;</span>, 0, <span class="charliteral">&#39;y&#39;</span>, 0, <span class="charliteral">&#39;n&#39;</span>, 0, <span class="charliteral">&#39;w&#39;</span>, 0, <span class="charliteral">&#39;i&#39;</span>, 0, <span class="charliteral">&#39;t&#39;</span>, 0,</div>
<div class="line"><a id="l00104" name="l00104"></a><span class="lineno">  104</span>};</div>
<div class="line"><a id="l00105" name="l00105"></a><span class="lineno">  105</span> </div>
<div class="line"><a id="l00106" name="l00106"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">  106</a></span>uint8_t <a class="code hl_variable" href="descriptors__hid_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">ProductStringDesc</a>[] =</div>
<div class="line"><a id="l00107" name="l00107"></a><span class="lineno">  107</span>{</div>
<div class="line"><a id="l00108" name="l00108"></a><span class="lineno">  108</span>    26,</div>
<div class="line"><a id="l00109" name="l00109"></a><span class="lineno">  109</span>    USB_DESC_STRING,</div>
<div class="line"><a id="l00110" name="l00110"></a><span class="lineno">  110</span>    <span class="charliteral">&#39;H&#39;</span>, 0, <span class="charliteral">&#39;I&#39;</span>, 0, <span class="charliteral">&#39;D&#39;</span>, 0, <span class="charliteral">&#39; &#39;</span>, 0, <span class="charliteral">&#39;T&#39;</span>, 0, <span class="charliteral">&#39;r&#39;</span>, 0, <span class="charliteral">&#39;a&#39;</span>, 0, <span class="charliteral">&#39;n&#39;</span>, 0, <span class="charliteral">&#39;s&#39;</span>, 0, <span class="charliteral">&#39;f&#39;</span>, 0, <span class="charliteral">&#39;e&#39;</span>, 0, <span class="charliteral">&#39;r&#39;</span>, 0</div>
<div class="line"><a id="l00111" name="l00111"></a><span class="lineno">  111</span>};</div>
<div class="line"><a id="l00112" name="l00112"></a><span class="lineno">  112</span> </div>
<div class="line"><a id="l00113" name="l00113"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#ad467705979e61efa29b17e0ffb0389fb">  113</a></span>uint8_t *<a class="code hl_variable" href="descriptors__hid_8c.html#ad467705979e61efa29b17e0ffb0389fb">USBD_StringDescriptor</a>[4] =</div>
<div class="line"><a id="l00114" name="l00114"></a><span class="lineno">  114</span>{</div>
<div class="line"><a id="l00115" name="l00115"></a><span class="lineno">  115</span>    <a class="code hl_variable" href="descriptors__hid_8c.html#a54c0e984bf7f34605af44f595af622cd">LangStringDesc</a>,</div>
<div class="line"><a id="l00116" name="l00116"></a><span class="lineno">  116</span>    <a class="code hl_variable" href="descriptors__hid_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">VendorStringDesc</a>,</div>
<div class="line"><a id="l00117" name="l00117"></a><span class="lineno">  117</span>    <a class="code hl_variable" href="descriptors__hid_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">ProductStringDesc</a>,</div>
<div class="line"><a id="l00118" name="l00118"></a><span class="lineno">  118</span>    NULL,</div>
<div class="line"><a id="l00119" name="l00119"></a><span class="lineno">  119</span>};</div>
<div class="line"><a id="l00120" name="l00120"></a><span class="lineno">  120</span> </div>
<div class="line"><a id="l00121" name="l00121"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#aa1101a05da71addb20a623ae8f5b8d6c">  121</a></span>uint16_t <a class="code hl_variable" href="descriptors__hid_8c.html#aa1101a05da71addb20a623ae8f5b8d6c">USBD_HIDOffset</a>[2] =</div>
<div class="line"><a id="l00122" name="l00122"></a><span class="lineno">  122</span>{</div>
<div class="line"><a id="l00123" name="l00123"></a><span class="lineno">  123</span>    9+9,</div>
<div class="line"><a id="l00124" name="l00124"></a><span class="lineno">  124</span>    0,</div>
<div class="line"><a id="l00125" name="l00125"></a><span class="lineno">  125</span>};</div>
<div class="line"><a id="l00126" name="l00126"></a><span class="lineno">  126</span> </div>
<div class="line"><a id="l00127" name="l00127"></a><span class="lineno"><a class="line" href="descriptors__hid_8c.html#a94d1bf87133ee43a6b9177978c7a9608">  127</a></span>uint8_t *<a class="code hl_variable" href="descriptors__hid_8c.html#a94d1bf87133ee43a6b9177978c7a9608">USBD_HIDReport</a>[2] =</div>
<div class="line"><a id="l00128" name="l00128"></a><span class="lineno">  128</span>{</div>
<div class="line"><a id="l00129" name="l00129"></a><span class="lineno">  129</span>    <a class="code hl_variable" href="descriptors__hid_8c.html#ac22903d71a7eed9e1e20a1a76da8c3cb">HID_ReportDescriptor</a>,</div>
<div class="line"><a id="l00130" name="l00130"></a><span class="lineno">  130</span>    NULL,</div>
<div class="line"><a id="l00131" name="l00131"></a><span class="lineno">  131</span>};</div>
<div class="ttc" id="adescriptors__hid_8c_html_a03eadf93383e77f75f1cf1f5cbd9f8f4"><div class="ttname"><a href="descriptors__hid_8c.html#a03eadf93383e77f75f1cf1f5cbd9f8f4">ProductStringDesc</a></div><div class="ttdeci">uint8_t ProductStringDesc[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00106">descriptors_hid.c:106</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_a54c0e984bf7f34605af44f595af622cd"><div class="ttname"><a href="descriptors__hid_8c.html#a54c0e984bf7f34605af44f595af622cd">LangStringDesc</a></div><div class="ttdeci">uint8_t LangStringDesc[4]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00092">descriptors_hid.c:92</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_a614f7a948820f0feb4257652eafda311"><div class="ttname"><a href="descriptors__hid_8c.html#a614f7a948820f0feb4257652eafda311">USBD_ConfigDescriptor</a></div><div class="ttdeci">uint8_t USBD_ConfigDescriptor[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00043">descriptors_hid.c:43</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_a94d1bf87133ee43a6b9177978c7a9608"><div class="ttname"><a href="descriptors__hid_8c.html#a94d1bf87133ee43a6b9177978c7a9608">USBD_HIDReport</a></div><div class="ttdeci">uint8_t * USBD_HIDReport[2]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00127">descriptors_hid.c:127</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_aa1101a05da71addb20a623ae8f5b8d6c"><div class="ttname"><a href="descriptors__hid_8c.html#aa1101a05da71addb20a623ae8f5b8d6c">USBD_HIDOffset</a></div><div class="ttdeci">uint16_t USBD_HIDOffset[2]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00121">descriptors_hid.c:121</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_ab45300d7bc45d5bb8b13ec7c2d1ae27e"><div class="ttname"><a href="descriptors__hid_8c.html#ab45300d7bc45d5bb8b13ec7c2d1ae27e">VendorStringDesc</a></div><div class="ttdeci">uint8_t VendorStringDesc[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00099">descriptors_hid.c:99</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_ab60c3cff1fd75a4e5a9498a17bdf631c"><div class="ttname"><a href="descriptors__hid_8c.html#ab60c3cff1fd75a4e5a9498a17bdf631c">USBD_DeviceDescriptor</a></div><div class="ttdeci">uint8_t USBD_DeviceDescriptor[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00024">descriptors_hid.c:24</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_ac22903d71a7eed9e1e20a1a76da8c3cb"><div class="ttname"><a href="descriptors__hid_8c.html#ac22903d71a7eed9e1e20a1a76da8c3cb">HID_ReportDescriptor</a></div><div class="ttdeci">uint8_t HID_ReportDescriptor[]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00005">descriptors_hid.c:5</a></div></div>
<div class="ttc" id="adescriptors__hid_8c_html_ad467705979e61efa29b17e0ffb0389fb"><div class="ttname"><a href="descriptors__hid_8c.html#ad467705979e61efa29b17e0ffb0389fb">USBD_StringDescriptor</a></div><div class="ttdeci">uint8_t * USBD_StringDescriptor[4]</div><div class="ttdef"><b>Definition:</b> <a href="descriptors__hid_8c_source.html#l00113">descriptors_hid.c:113</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html"><div class="ttname"><a href="hid__transfer_8h.html">hid_transfer.h</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a07065dc40f090f051dd1dd6d5901930a"><div class="ttname"><a href="hid__transfer_8h.html#a07065dc40f090f051dd1dd6d5901930a">USBD_SELF_POWERED</a></div><div class="ttdeci">#define USBD_SELF_POWERED</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00019">hid_transfer.h:19</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a287c940e33c18a7f0fda473a8f15b0d0"><div class="ttname"><a href="hid__transfer_8h.html#a287c940e33c18a7f0fda473a8f15b0d0">USBD_PID</a></div><div class="ttdeci">#define USBD_PID</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00007">hid_transfer.h:7</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a33eb2c20ffb183eff71549bfc6279e36"><div class="ttname"><a href="hid__transfer_8h.html#a33eb2c20ffb183eff71549bfc6279e36">USBD_REMOTE_WAKEUP</a></div><div class="ttdeci">#define USBD_REMOTE_WAKEUP</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00020">hid_transfer.h:20</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a34cbf01a6f0c103001e248d0048f4271"><div class="ttname"><a href="hid__transfer_8h.html#a34cbf01a6f0c103001e248d0048f4271">EP_INT_OUT_NUM</a></div><div class="ttdeci">#define EP_INT_OUT_NUM</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00011">hid_transfer.h:11</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a44677a67e07421e9c150b320d3a17b60"><div class="ttname"><a href="hid__transfer_8h.html#a44677a67e07421e9c150b320d3a17b60">EP_INT_IN_NUM</a></div><div class="ttdeci">#define EP_INT_IN_NUM</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00010">hid_transfer.h:10</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a5162db480d212170c08d3d940d87be57"><div class="ttname"><a href="hid__transfer_8h.html#a5162db480d212170c08d3d940d87be57">EP_CTRL_PKSZ</a></div><div class="ttdeci">#define EP_CTRL_PKSZ</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00013">hid_transfer.h:13</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_a775207d15e87136af161c9931a1bba30"><div class="ttname"><a href="hid__transfer_8h.html#a775207d15e87136af161c9931a1bba30">EP_INT_IN_PKSZ</a></div><div class="ttdeci">#define EP_INT_IN_PKSZ</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00014">hid_transfer.h:14</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_ac5251397ce2246b546b472cd802e6d62"><div class="ttname"><a href="hid__transfer_8h.html#ac5251397ce2246b546b472cd802e6d62">USBD_VID</a></div><div class="ttdeci">#define USBD_VID</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00006">hid_transfer.h:6</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_ae37a8cb8c6766fdeecad80e01bb6c2ef"><div class="ttname"><a href="hid__transfer_8h.html#ae37a8cb8c6766fdeecad80e01bb6c2ef">EP_INT_OUT_PKSZ</a></div><div class="ttdeci">#define EP_INT_OUT_PKSZ</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00015">hid_transfer.h:15</a></div></div>
<div class="ttc" id="ahid__transfer_8h_html_af89b852ee3c28c34c213f8ce6dd7f788"><div class="ttname"><a href="hid__transfer_8h.html#af89b852ee3c28c34c213f8ce6dd7f788">USBD_MAX_POWER</a></div><div class="ttdeci">#define USBD_MAX_POWER</div><div class="ttdef"><b>Definition:</b> <a href="hid__transfer_8h_source.html#l00021">hid_transfer.h:21</a></div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
